/**   
 * @Title: UserInfoDao.java 
 * @Package com.neusoft.neumooc.dao 
 * @Description: TODO 
 * @author acer   
 * @date 2016年10月31日 上午9:41:37 
 */

package com.neusoft.neumooc.dao;
import java.util.List;
import com.neusoft.core.common.exception.DAOException;
import com.neusoft.neumooc.VO.UserVO;

/**
 * @ClassName: UserInfoDao
 * @Description: TODO
 * @author Fuyongjun
 * @date 2016年10月31日
 */
public interface UserInfoDao {
	/**
	 * @Title:queryUserInfo()
	 * @Description: 获取用户信息
	 * @param
	 * @return
	 * @throws DAOException
	 */
	public int getUserCount() throws DAOException;

	/**
	 * @Title:List<UserVO> getMenus
	 * @Description: 获取用户信息
	 * @param
	 * @return
	 * @throws DAOException
	 */
	public List<UserVO> getUsers(int pageNo, int pageSize) throws DAOException;
	/**
	 * @Title:UserVO getUsers
	 * @Description: 插入用户信息
	 * @param
	 * @return
	 * @throws DAOException
	 */
	public int insertUsers(UserVO userVO) throws DAOException;
	
	/**
	 * @Title:boolean checkRepeat
	 * @Description: 判断用户名是否重名
	 * @param
	 * @return
	 * @throws DAOException
	 */
	
	public boolean checkRepeat(String  name)throws DAOException;
	

}
